package com.zhiyun.mapper;

import com.zhiyun.domain.CourseContent;

import java.util.List;

public interface CourseContentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CourseContent record);

    CourseContent selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(CourseContent record);

    List<CourseContent> findByCourseUnitId(int unitId);

    CourseContent selectBySrc(String fileName);
}